package com.fowo.api.sys.model;

import com.fowo.api.sys.entity.enums.SysDictType;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 创建系统字典对象
 * @author yl_ls
 */
@Data
public class CreateSysDictPo {
    @NotEmpty
    @Length(max = 50)
    private String dictCode;
    @NotEmpty
    @Length(max = 50)
    private String dictName;
    @NotNull
    private SysDictType type;
    private String description;
}
